package com.java.action;

import com.java.pojo.ComRole;
import com.java.service.IRoleService;
import com.opensymphony.xwork2.ActionSupport;

public class EditRoleAction  extends ActionSupport{
    
	
	private IRoleService roleservice;
//	private String id;
//	private String name;
//	private int type;
//	private int rrw;
	private ComRole role;
	private int message=3;
	
	public String execute(){
//		System.out.println(id);
		roleservice.editRoleLog(role);
		return SUCCESS;
	}

	

	



	public ComRole getRole() {
		return role;
	}






	public void setRole(ComRole role) {
		this.role = role;
	}



	public int getMessage() {
		return message;
	}

	public void setRoleservice(IRoleService roleservice) {
		this.roleservice = roleservice;
	}
}
